package com.hy.socket.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    private String type;
    private Long from;
    private Long to;
    private Object data;
    private LocalDateTime time;
}
